package com.origin.onlinesys.persistence.modules.sys.account;

import com.github.abel533.mapper.Mapper;
import com.origin.onlinesys.domain.modules.interviewsys.Permission;

import java.util.Collection;
import java.util.List;
import java.util.Map;

/**
 *
 * 用户权限操作
 * Created by Administrator on 2015/3/6.
 */
public interface PermissionMapper extends Mapper<Permission> {

    public void addMenuPermission(List<Map> list);

    public List<Permission> selectItem();

    public Permission selectById(String id);

    public List<String> selectMIdByPId(String id);

    public void delMenuPermission(String id);

    public Collection<String> selectByUserId(String id);

    public List<Permission> selectAllPermission();


}
